/**
 * @author: zhiqiang
 * @version: 1.0
 * @date: 2022/3/17
 * @description:
 */
package com.lzq.builder.init;

public class Computer2 {
    public String cpu;
    public String moBo;
    public String disk;
    public String RAM;
    public String power;
    void buildCpu() {
        cpu = "i9 9900";
        System.out.println(cpu);
    }

    void buildMoBo() {
        moBo = "华硕b450";
        System.out.println(moBo);
    }

    void buildDisk() {
        disk = "三星2tssd";
        System.out.println(disk);
    }

    void buildRAM() {
        RAM = "8g";
        System.out.println(RAM);
    }
    void buildPower() {
        power = "1000w";
        System.out.println(power);
    }
}
